
// var express = require('express');
// var app = express();
// // 定义路由
// app.get('/', function (req, res) {
// 	res.send('Hello Pskeeter!')
// })
// // 设置启动的地址端口信息
// var server = app.listen(3000, function () {

// 	var host = server.address().address;
// 	var port = server.address().port;

// 	//  打印相关的内容提示
// 	console.log('Example app listen at http://%s:%s', host, port)
// })

var express = require('express');
var app = express();

app.get('/', function (req, res) {
    res.send('Hello World!');
});

var server = app.listen(3000, function () {
    var host = server.address().address;
    var port = server.address().port;

    console.log('Example app listening at http://%s:%s', host, port);
});